BigDFT.Spillage module
A module which contains the routines needed for computing the spillage values.
- AU_to_A = 0.52917721092
Conversion between Atomic Units and Bohr
- class MatrixMetadata(filename)[source]
This class contains the information stored in the sparse matrix metadata file.
- Parameters:
filename (str) – the name of the metadata file to initialize from.
- get_frag_indices(system)[source]
Retrieve the indices of the matrix associated with each fragment of a system.
- Parameters:
system (Systems.System) – the set of fragments to get the indices of.
- Returns:
a mapping from fragment to indices.
- Return type:
(dict)
- serial_compute_puritybase(sfile, dfile)[source]
This routine computes the matrix K*S using python.
You will need this for computing the purity values.
- serial_compute_spillagebase(sfile, hfile)[source]
This routine computes the matrix S^{-1}*H using python.
You will need this for computing the spillage values.